package com.transactional.service;

import com.transactional.bean.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OuterInvoking {

    @Autowired
    private UserService userService;

    public void test(){

        User user = new User();
        user.setUserName("包华杰");
        user.setPassword("123");
        user.setPhone("234124");

        userService.insert2_2(user);

    }
}
